<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>">
<style type="text/css">
    .hd_debug{padding:10px;margin:0px;font: 14px/20px 微软雅黑;clear:both;border:solid 1px #dcdcdc;
              margin:20px; background-color:#fff;width:800px;word-wrap:word-break; word-break: break-word; }
    .hd_debug *{margin:0px;padding:0px;}
    .hd_debug .setup{ padding: 5px; border-bottom: solid 1px #dcdcdc;}
    .hd_debug .setup a{ text-decoration: none; margin-right: 20px;}
    .hd_debug tr{word-break:break-all;}
    .hd_debug #debug_link{border-bottom:solid 1px #dcdcdc;padding:10px;margin-top:0px; }
    .hd_debug #debug_link a{padding:0px 8px;text-decoration: none;}
    .hd_debug #debug_link a:hover{text-decoration:underline;}
    .hd_debug .debug_server{ line-height: 1.5em; margin-bottom: 10px; color:#333;}
    .hd_debug .debug_server a{color:#5d5d5d; text-decoration:none;}
    .hd_debug .debug_server a:hover{color:#5d5d5d; text-decoration:underline;}
    .hd_debug .debug_server address{display: inline;}
    .hd_debug  fieldset{line-height: 1.2em;}
    .hd_debug  a{color:#2F68A5;}
    .hd_debug   table{border-collapse: collapse; border: solid 1px #efefef;overflow: hidden;}
    .hd_debug   table thead td{background-color:#efefef;color:#000; padding: 3px 5px; font-size:14px; }
    .hd_debug  table tbody td{ font-size:14px;color:#333; padding:3px;
                               border-bottom: solid 1px #efefef;
    }
    .hd_debug  fieldset{padding:10px;font-size:13px; border:1px solid #D0D0D0;margin-top:10px;}
    .hd_debug  legend{padding:5px; }
    .hd_debug  p{background-color:#666;color:#fff;margin-top:10px;padding:3px;font-size:12px;}
    .hd_debug  h2{font-size:15px;font-weight: bold;color:#2F68A5;clear:both;float:none;}
</style>
<div class="hd_debug" id="hd_debug_div">
  
    <?php if(C("SHOW_SYSTEM")){?>
    <!--系统信息-->
    <?php if(isset($e['system'])){?>
    <fieldset><legend><?php echo L("debug_html6")?></legend>
        <?PHP
        if (isset ( $e ['system'] )) {
        echo $e ['system'];
        }
        ?>
    </fieldset>
    <?php }?>
    <?php }?>
    <!--显示缓存统计-->
    <?php if(C("SHOW_CACHE")&&C("CACHE_SAVE")){?>
    <fieldset><legend>缓存</legend>
        <?php echo $cache;?>
    </fieldset>
    <?php }?>
    <!--模板编译文件-->
    <?php if(C("SHOW_TPL_COMPILE")&&!empty($compileFiles)){?>
    <fieldset><legend><?php echo L("debug_html_tplcompile")?></legend>
        <?PHP
        echo $tplCompileFiles;
        ?>
    </fieldset>
    <?php }?>
    <!--数据库-->
    <?php if(C("SHOW_SQL")&&isset($e['sqlCount'])){?>
    <fieldset><legend><?php echo L("debug_html7")?></legend
        <!--数据库-->
        <?PHP
        echo $sqlExeArr;
        ?>
    </fieldset>
    <?php }?>
    <!--文件载入流程-->
    <?php if(C("SHOW_INCLUDE")){?>
    <?php if(isset($e['loadfile'])){?>
    <fieldset><legend><?php echo L("debug_html8")?></legend>
        <?PHP
        if (isset ( $e ['loadfile'] )) {
        echo $e ['loadfile'];
        }
        ?>
    </fieldset>
    <?php }?>
    <?php }?>

   
</div>
<script language="javascript" type="text/javascript" defer="defer">
    javascript:(function(){var D=document; F(D.body); function F(n){var u,r,c,x; if(n.nodeType==3){ u=n.data.search(/\S{10}/); if(u>=0) { r=n.splitText(u+10); n.parentNode.insertBefore(D.createElement("WBR"),r); } }else if(n.tagName!="STYLE" && n.tagName!="SCRIPT"){for (c=0;x=n.childNodes[c];++c){F(x);}} } })();
</script>